package com.example.front.mapper;

import com.example.front.dto.dataRport.DataReportDto;
import com.example.front.entity.BoxDashboard;
import com.example.front.entity.Dashboard;
import com.example.passport.entity.User;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface IncidentDayMapper {

    @Select("<script>" +
            "SELECT * FROM `incident_day` " +
            " where `tenant_id`=#{data.tenantId} " +
            " and `days`=#{data.daysStart} " +
            " </script>")
    List<DataReportDto> find(@Param("data") DataReportDto dataReportDto);


}